package com.lhz.project.system.model.param.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 参数类
 *
 * @author LiHuaZhi
 * @since 2020-06-13 20:52:50
 */

@Data
@Schema(description = "部门管理参数")
public class DeptParam implements Serializable {


    @Serial
    private static final long serialVersionUID = -88051532170968241L;

    @Schema(description = "部门id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer id;

    @Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "上级部门id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer parentId;

    @Schema(description = "祖级列表", requiredMode = Schema.RequiredMode.REQUIRED)
    private String ancestors;

    @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer orderNum;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    private String remark;

}